<style>
.headinfo {
    background: none;
}
.headinfo .mod-member {
    margin: 0 auto;
	margin-top: -60px;
    width: 94%;
	left:3%;
    padding: 6px 0 10px;
    background-color: #fff;
    border-radius: 10px;
    border: 1px solid #f2f2f2;
}
.headinfo .mod-member .sign-btn{
    position: absolute;
    margin: 0 auto;
	top: -44px;
    width: 36px;
	height: 26px;
	right:16px;
    color:#fff;
	text-align:center;
	padding-top:3px;
    background: #7c1cc9;
}
.bottombg {bottom:-20px;width:100%;height:80px;border-bottom-right-radius:100% 40px;border-bottom-left-radius:100% 40px;}
.mod-group {
    margin: 0 auto;
	margin-top: 5px;
    width: 94%;
    background-color: #fff;
    border-radius: 10px;
    border: 1px solid #f2f2f2;
}
.fui-icon-group .fui-icon-col-sm {
    margin:10px 0;
}
.badge {
    left: 2rem;
    top: 0;
}
</style>
<div class='fui-page fui-page-current' ng-if="pagedata.op=='main'">
	<div class='fui-content member-page'>
		<div class="bottombg" style="background:#18bc9c;"></div>
		<div class="headinfo" style="height:auto;">		
				<div class="mod-member">
					<div class="sign-btn" href="javascript:;" ng-click="access_json('core/member.qiandao/')" style="background:#18bc9c;">签到</div>
						<div class="headinfo" style="background:none;padding:0;color:#999">
												<div class="child userinfo" style="padding-bottom:5px;color:#999;width:4rem">
													<div class="face" style="margin-right:0.6rem;padding: 0.1rem;" href="javascript:;" ng-click="access_json('core/member.cavatar/')">
															<img ng-src="{{tomedia(pagedata.item.avatar) || '../core/resource/images/gw-user.png'}}" />
															<span class="vip" style="top: 2rem;background: {{main.syscolor || '#4491F1'}} none repeat scroll 0 0;"><i class="icon icon-vip5" style="font-size:0.5rem;padding-left:0.1rem"></i></span>
													</div>
												</div>
												<div class="child userinfo" style="padding-bottom:0;color:#999;flex: 1;text-align:left;">
													<div class="l bold" style="width:100%">{{pagedata.item.nickname}} </div>
													<div class="l">
														<div style="width:100%;font-size:12px" href="javascript:;" ng-click="access_json('jy_kaoshi/set/')">手机: {{pagedata.item.mobile}} <span style="color:{{main.syscolor || '#4491F1'}}">设置</span></div>
														<div style="font-size:12px">
														<span class="red" ng-if="pagedata.sale_luck.title" href="javascript:;" ng-click="access_json('jy_weishop/member.luck/')">[{{pagedata.sale_luck.title}}] (享受{{pagedata.sale_luck.discount}}折)</span>
														</div>
													</div>
												</div>
									
						</div>
						<div class="fui-icon-group noborder col-4">
												<div class="fui-icon-col-sm external" style="margin:0">
													<div href="javascript:;" ng-click="access_json('core/member.recharge/')">
														<div class="text bold">{{pagedata.item.credit2 || '0.00'}}</div>
														<div class="subtitle" style="font-size:12px;color: #666;">余额 <span style="color:{{main.syscolor || '#4491F1'}}">充值</span></div>
													</div>
												</div>
												<div class="fui-icon-col-sm external" style="margin:0">
													<div>
														<div class="text bold">{{pagedata.item.freeze || 0}}</div>
														<div class="subtitle" style="font-size:12px;color: #666;">冻结额</div>
													</div>
												</div>
												<div class="fui-icon-col-sm external" style="margin:0">
													<div>
														<div class="text bold">{{pagedata.item.credit1 || '0'}}</div>
														<div class="subtitle" style="font-size:12px;color: #666;">我的积分</div>
													</div>
												</div>
												<div class="fui-icon-col-sm external" style="margin:0">
													<div>
														<div class="text bold">{{pagedata.item.credit3 || '0.00'}}</div>
														<div class="subtitle" style="font-size:12px;color: #666;">我的{{pagedata.credit3title || '金币'}}</div>
													</div>
												</div>
						</div>
					</div>
				</div>
				<div class="fui-cell-group fui-cell-click" style="background:none">
							<a class="fui-cell external changepwd" href="javascript:;" ng-click="access_json('core/member.cpassword/')">
								<div class="fui-cell-text" style="text-align: center;">修改密码</div>
							</a>
							<a class="fui-cell external btn-logout" ng-click="post_json('core/member.logout/')">
								<div class="fui-cell-text" style="text-align: center;">退出登录</div>
							</a>
				</div>
				<div style="padding:0.5rem 0.6rem">
					<div class="fui-cell-group">
						<div class="fui-cell" style="height: 2.85rem;" ng-click="access_json('jy_kaoshi/card//')">
							<div class="fui-cell-icon">
								<i class="icon icon-pingzhengzhongxin"></i>
							</div>
							<div class="fui-cell-text">我的答题卡
							</div>
							<div class="fui-cell-remark">
							</div>
						</div>
					</div>
					<div class="fui-tab fui-tab-danger" style="margin-top:0">
							<a ng-class="{'external active':pagedata.type == 0}" ng-click="pagedata.type = 0;tool.get_list('jy_kaoshi/myhome/get_ti/',true)">题库</a>
							<a ng-class="{'external active':pagedata.type == 1}" ng-click="pagedata.type = 1;tool.get_list('jy_kaoshi/myhome/get_ke/',true)">课程</a>
							<a ng-class="{'external active':pagedata.type == 2}" ng-click="pagedata.type = 2;tool.get_list('jy_kaoshi/myhome/get_msg/',true)">留言</a>
							<a ng-class="{'external active':pagedata.type == 3}" ng-click="pagedata.type = 3;tool.get_list('jy_kaoshi/order/list/',true)">考试</a>
			 
					</div>
					<div class="fui-cell-group">
							<div ng-repeat="item in pagedata.list" class="fui-cell">
									<div class="fui-cell-icon"><i class="icon icon-quanbudingdan"></i></div>
									<div class="fui-cell-text">{{item.title}}
										<div class="syscolor" ng-if="pagedata.type == 3">模拟分数：{{item.score}}</div>
										<div ng-if="pagedata.type == 3">模拟时间：{{item.createtime}}</div>
										<div ng-if="pagedata.type == 0 && item.liandays>0">
										<span>{{item.lastliandays}}</span>
										</div>
									</div>
									<div ng-if="pagedata.type == 0 || pagedata.type == 1" class="fui-cell-remark noremark">
										<span ng-click="access_json('jy_kaoshi/baogao//id='+item.id)" style="color:#18bc9c">学习报告</span>
										<span ng-click="access_json('jy_kaoshi/ti_index//id='+item.id)" class="btn btn-sm btn-info">开始学习</span>
									</div>
							</div>
					</div>
				</div>
				<div ng-include="sys_html('common/_copyright',true)"></div>
	</div>
</div>
<div id="show_vipcard"  class="modal fade" tabindex="-1" style="z-index:99999;display:none;">
		<div class="modal-dialog" style="top:30%;">
			<div class="memlogo-area" style="background:url({{tomedia(pagedata.item.cardbg) || '../core/resource/images/cardbg.png'}}) no-repeat 100%">
                    <div class="memlogo">
                        <img ng-src="{{tomedia(pagedata.item.avatar) || '../core/resource/images/gw-user.png'}}">
                    </div>
                    <div class="name">{{pagedata.item.nickname || '匿名'}}</div>
                    <br>
                    <div class="name">{{pagedata.item.mobile || '无手机号'}}</div>
                    <div class="code">
                        <img ng-src="{{tomedia(pagedata.account.logo) || '../core/resource/images/wxappicon.png'}}">
                    </div>
                    <div class="bot">
						<img id="barcode" style="height:2.5rem"/>
                        <span class="r-f">{{pagedata.item.level}}</span>
                    </div>
            </div>
		</div>
</div>

<div id="showsystemcontent" class="modal fade" tabindex="-1" style="z-index:99999;display:none;">
<div class="modal-dialog" style="width:96%;left:2%;top:1.5%;">
<div class="modal-content" style="min-height:500px">
	<div aria-hidden="true" data-dismiss="modal" class="closebtn" style="right:10px;top:0"><i class="icon icon-wrong" style="color:#ccc;"></i></div>
	<div class="fui-article-page">
			<div class="fui-article-title" style="text-align:center">平台声明</div>
			<div class="fui-article-content" ng-bind-html="trust(pagedata.jiqixieyi.content)"></div>
	</div>
</div>
</div>
</div>
<script type="text/javascript">
</script>
</div>
<div ng-include="sys_html('common/pluginnav',true)"></div>
<div ng-include="sys_html('common/_share','','','jy_weishop')"></div>
<div ng-include="sys_html('common/_sales','','','jy_weishop')"></div>
<script>
require(['JsBarcode'],function(JsBarcode){
	//console.log('准备调用');
	JsBarcode('#barcode',scope.pagedata.item.id,{fontSize:36});
});
if(scope.pagedata.type==0){
	scope.pagedata.geturl='jy_kaoshi/myhome/get_ti/';
}else if(scope.pagedata.type==1){
	scope.pagedata.geturl='jy_kaoshi/myhome/get_ke/';
}else if(scope.pagedata.type==2){
	scope.pagedata.geturl='jy_kaoshi/myhome/get_msg/';
}else if(scope.pagedata.type==3){
	scope.pagedata.geturl='jy_kaoshi/order/list/';
}
scope.tool.get_list(scope.pagedata.geturl,true);
scope.pagedata.scroll_bottom=function(){
	scope.tool.get_list(scope.pagedata.geturl);
}
</script>